package com.tanhua.dubbo.api;

import com.tanhua.model.domain.Settings;

public interface SettingsApi {
    //通过id进行查询设置
    Settings findByUserid(Long userId);
    //保存设置
    void save(Settings settings);
    //修改设置
    void update(Settings settings);

    Boolean getPhone(String phone);

    void updatePhone(Long userId, String phone);
}
